<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>激活结果</title>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />
<meta name="format-detection" content="telephone=no" />
<link rel="stylesheet" href="{{ url('/common/mobile-common/common.css') }}">
<link rel="stylesheet" href="{{ url('/mobile/css/header.css') }}">		
<link rel="stylesheet" href="{{ url('/mobile/css/card/cardjhResult.css')}}">	
<script src="../../mobile/js/jquery-1.8.3.min.js"></script>
<script src="{{ url('/common/mobile-common/hmt.js') }}"></script>
</head>
<body>
	<div class="abouts">
		<div class="wrap-cont wrap-cont0 clearfix">
				<!--header-->
				<!--<header>
					<div class="top">
						<img src="{{ url('mobile/images/fh-red.png') }}">
						<p>旅游卡激活</p>
					</div>
				</header>-->
				<!--end-->
				@if($t)
				<div class="wrap-cont wrap-cont2">
					<div class="section">
						<p class="jh-tit">
							<img src="{{ url('mobile/images/cg2.png') }}">
							<span>您已成功激活（<i>{{count($t)}}</i>）张卡！</span>
						</p>
						<ul class="num-list cg-list">
							@foreach($t as $k=>$v)
							<li><em>{{$k+1}}.</em><i>卡号:</i><span>{{$v}}</span></li>
							@endforeach
						</ul>
					</div>				
				</div>
				@endif
				@if($f)
				<div class="wrap-cont wrap-cont2 jhsb">
					<div class="section">
						<p class="jh-tit sb-ts">
							<img src="{{ url('mobile/images/sb.png') }}">
							<span>抱歉您有（<i>{{count($f)}}</i>）张卡激活失败！</span>
							<a class="cxjh" href="{{url('wap/cardActive')}}">重新激活</a>
						</p>
						<ul class="num-list sb-list">
							<?php $i=1;?>
							@foreach($f as $k=>$v)
							<li><em>{{$i++}}.</em><i>卡号:</i><span>{{$k}}</span>
								<a>失败原因: {{$v}}</a>
							</li>
							@endforeach
						</ul>
					</div>
				</div>
				@endif
		</div>
		<div class="opt-btn">
			<a href="{{url('wap')}}" class="edit-btn">返回首页</a>
		</div>
	</div>
	
</body>
<script>
	$(function(){
		$(".cg-list li:gt(4)").hide();
		//已经激活卡号展开收起
//		$(".bnt-gd").on("touchstart",function(){
//			$(".cg-list li:gt(4)").toggle();
//			var liSta=$(".cg-list li:gt(4)").css("display");
//			if(liSta=="list-item"){
//				$(this).find("img").attr("src","{{ url('mobile/images/sq.png') }}");
//			}
//			else{
//				$(this).find("img").attr("src","{{ url('mobile/images/do-icon2.png') }}");
//			}
//		});
	});
</script>
</html>
